package com.base.kongjian.entity;

import com.mysteel.core.Entity;
/**
 * 
 * @author chendonglin
 *
 */
public class Kongjian implements Entity
{
	private static final long serialVersionUID = -7895912739780481114L;
	
	private long id ;		//PK
	
	private long memberId;	//会员ID
	
	private int level;		//空间等级，计算规则-如4级需要4个在线时间
	
	private int praiseCount;//点赞数
	
	private String visitorId;//可以访问空间的ID10000,20000,
	
	private String praise_MId;//可以访问空间的ID10000,20000,
	
	private long onlineTime;	//在线
	
	private long loginTime;	//登录时间
		
	private long logoutTime;//下线时间
	
	private long createTime;//创建时间
	

	public long getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(long createTime)
	{
		this.createTime = createTime;
	}

	public String getPraise_MId()
	{
		return praise_MId;
	}

	public void setPraise_MId(String praise_MId)
	{
		this.praise_MId = praise_MId;
	}

	public long getId()
	{
		return id;
	}

	public void setId(long id)
	{
		this.id = id;
	}

	public long getMemberId()
	{
		return memberId;
	}

	public void setMemberId(long memberId)
	{
		this.memberId = memberId;
	}

	public int getLevel()
	{
		return level;
	}

	public void setLevel(int level)
	{
		this.level = level;
	}

	public int getPraiseCount()
	{
		return praiseCount;
	}

	public void setPraiseCount(int praiseCount)
	{
		this.praiseCount = praiseCount;
	}

	public String getVisitorId()
	{
		return visitorId;
	}

	public void setVisitorId(String visitorId)
	{
		this.visitorId = visitorId;
	}

	public long getOnlineTime()
	{
		return onlineTime;
	}

	public void setOnlineTime(long onlineTime)
	{
		this.onlineTime = onlineTime;
	}

	public long getLoginTime()
	{
		return loginTime;
	}

	public void setLoginTime(long loginTime)
	{
		this.loginTime = loginTime;
	}

	public long getLogoutTime()
	{
		return logoutTime;
	}

	public void setLogoutTime(long logoutTime)
	{
		this.logoutTime = logoutTime;
	}

	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}

	public Kongjian(long id, long memberId, int level, int praiseCount,
			String visitorId, long onlineTime, long loginTime, long logoutTime,String praise_MId,long createTime)
	{
		super ();
		this.id = id;
		this.memberId = memberId;
		this.level = level;
		this.praiseCount = praiseCount;
		this.visitorId = visitorId;
		this.onlineTime = onlineTime;
		this.loginTime = loginTime;
		this.logoutTime = logoutTime;
		this.praise_MId = praise_MId;
		this.createTime = createTime;
	}

	public Kongjian()
	{
		super ();
	}
	
}
